package com.zhangjie.apidriver.remote;

import com.zhangjie.internalcommon.dto.ResponseResult;
import com.zhangjie.internalcommon.response.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * service-verificationcode 验证码服务调用
 * @Auther: zj
 * @Date: 2024/2/28 - 02 - 28 - 14:51
 * @Description: com.zhangjie.apidriver.remote
 * @version: 1.0
 */
@FeignClient("service-verificationcode")
public interface ServiceVerificationCodeClient {

    @RequestMapping(method = RequestMethod.GET, value = "/numberCode/{size}")
    ResponseResult<NumberCodeResponse> getNumberCode(@PathVariable("size") int size);
}
